<template>
  <div class="app">
    <!-- el-config-provider用来对elementui库做国际化,也就是把组件中英语组件库改成中文组件库 -->
    <el-config-provider :locale="zhCn">
      <RouterView></RouterView>
    </el-config-provider>
  </div>
</template>

<script setup lang="ts">
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
</script>

<style scoped>
.app {
  width: 100vw;
  height: 100vh;
}
</style>
